package com.hpe.fastfood.pojo;

/**
 * @ClassName: Commodity
 * @Description:TODO 商品的实体类
 * @author: dwx
 * @date: 2018年11月22日 上午11:36:07
 */
public class Commodity {

	private int foodId;// 商品ID

	private String foodName;// 商品名称

	private double foodPrice;// 商品单价

	private String foodPicture;// 商品图片

	private String foodBrief;// 商品简介

	private int typeId;// 种类id

	private int bussinessId;// 商户ID

	private int foodSale;// 销售量

	private int state;// 商户账户状态(0:已禁用1:已启用)

	public int getFoodId() {
		return foodId;
	}

	public void setFoodId(int foodId) {
		this.foodId = foodId;
	}

	public String getFoodName() {
		return foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

	public double getFoodPrice() {
		return foodPrice;
	}

	public void setFoodPrice(double foodPrice) {
		this.foodPrice = foodPrice;
	}

	public String getFoodPicture() {
		return foodPicture;
	}

	public void setFoodPicture(String foodPicture) {
		this.foodPicture = foodPicture;
	}

	public String getFoodBrief() {
		return foodBrief;
	}

	public void setFoodBrief(String foodBrief) {
		this.foodBrief = foodBrief;
	}

	public int getTypeId() {
		return typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public int getBussinessId() {
		return bussinessId;
	}

	public void setBussinessId(int bussinessId) {
		this.bussinessId = bussinessId;
	}

	public int getFoodSale() {
		return foodSale;
	}

	public void setFoodSale(int foodSale) {
		this.foodSale = foodSale;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Commodity [foodId=" + foodId + ", foodName=" + foodName + ", foodPrice=" + foodPrice + ", foodPicture="
				+ foodPicture + ", foodBrief=" + foodBrief + ", typeId=" + typeId + ", bussinessId=" + bussinessId
				+ ", foodSale=" + foodSale + ", state=" + state + "]";
	}

}
